package com.hjm.project.ShopOrder.ShopOrder.mapper;

import java.util.List;
import java.util.Map;

import com.hjm.project.ShopOrder.ShopOrder.domain.ShopOrder;

/**
 * 订单Mapper接口
 * 
 * @author ShopOrder
 * @date 2020-11-30
 */
public interface ShopOrderMapper 
{

    /**
     * 查询订单
     *
     * @param map 订单ID
     * @return 订单
     */
    public ShopOrder selectShopOrderByIds(Map map);

    /**
     * 查询订单
     * 
     * @param serialLogo 订单ID
     * @return 订单
     */
    public ShopOrder selectShopOrderById(Long serialLogo);

    /**
     * 查询订单列表
     * 
     * @param shopOrder 订单
     * @return 订单集合
     */
    public List<ShopOrder> selectShopOrderList(ShopOrder shopOrder);

    public List<ShopOrder> selectShopOrderLists(ShopOrder shopOrder);


    /**
     * 新增订单
     * 
     * @param shopOrder 订单
     * @return 结果
     */
    public int insertShopOrder(ShopOrder shopOrder);

    /**
     * 修改订单
     * 
     * @param shopOrder 订单
     * @return 结果
     */
    public int updateShopOrder(ShopOrder shopOrder);

    /**
     * 删除订单
     * 
     * @param serialLogo 订单ID
     * @return 结果
     */
    public int deleteShopOrderById(Long serialLogo);

    /**
     * 批量删除订单
     * 
     * @param serialLogos 需要删除的数据ID
     * @return 结果
     */
    public int deleteShopOrderByIds(String[] serialLogos);
}
